package com.central.scheduler.remote.exception;

/**
 * @author Tindy
 * @date 2021/10/29
 * @describe
 * Custom runtime exception
 */
public class RemoteException extends RuntimeException {

    /**
     * Construct a new runtime exception with the detail message
     *
     * @param   message  detail message
     */
    public RemoteException(String message) {
        super(message);
    }

    /**
     * Construct a new runtime exception with the detail message and cause
     *
     * @param   message  detail message
     */
    public RemoteException(String message, Throwable cause) {
        super(message, cause);
    }
}
